package net.huashitong.ssydt.provider.article.mapper;

import net.huashitong.ssydt.article.entity.SsArticleCollection;
import net.huashitong.ssydt.article.entity.vo.CollectionsQueryVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SsArticleCollectionMapper {

    int deleteByPrimaryKey(Long id);

    int insert(SsArticleCollection record);

    int insertSelective(SsArticleCollection record);

    SsArticleCollection selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SsArticleCollection record);

    int updateByPrimaryKey(SsArticleCollection record);

    SsArticleCollection getByUserIdWithArticleId(SsArticleCollection collection);

    int deleteByUserId(String userId);

    List<SsArticleCollection> queryByUserId(CollectionsQueryVO collectionsQueryVO);
}